import { request } from '../utils/request'

export const loginByJson = (data:any) => {
  return request({
    url: '/passport/login',
    method: 'post',
    data,
    // headers: {
    //   'Content-Type': 'multipart/form-data'
    // }
  })
}